package com.andy.process.threadpool;

/**
 * Created by Administrator on 2017/9/6.
 */

import com.andy.common.entity.Configuration;
import com.andy.process.source.ExcelSource;

import java.sql.SQLException;


/**
 * Created by Administrator on 2017/9/6.
 */
public class Test {
    public static void main(String[] args) {
        ExcelSource source = new ExcelSource(Configuration.class,"excelSource.yml");
        long startTime = System.currentTimeMillis();
        try {
            source.insert();
        } catch (SQLException e) {
            e.printStackTrace();
        }
        long endTime = System.currentTimeMillis();
        System.out.println("耗费时间—>"+(endTime-startTime));
    }
}
